package org.yzz.auth.service;

import org.yzz.auth.domain.Role;
import org.yzz.auth.dto.MenuDTO;
import org.yzz.auth.dto.RoleDTO;
import org.yzz.base.service.IBaseService;

import java.util.List;

public interface IRoleService extends IBaseService<Role> {


    void insertByRoleId(RoleDTO roleDTO);

    List<String> selectByRoleId(Long id);

    List<Long> selectAllId();

    void insertByMenuId(MenuDTO menuDTO);

    List<Long> selectMenusById(Long id);
}
